from django.conf.urls import patterns, include, url
from django.conf import settings

from website.views import Home

urlpatterns = patterns('',
                       # Examples:
                       # url(r'^$', 'website.views.home', name='home'),
                       # url(r'^blog/', include('blog.urls')),

                       url(r'^$', Home),

                       url(r'^accounts/', include('UserManage.urls')),
                       url(r'^blog/', include('Blog.urls')),

                       # static
                       url(r'^static/(?P<path>.*)$', 'django.views.static.serve',
                           {'document_root': settings.STATIC_ROOT, }),
                       )
